package example2;

/**
 * <h3>designPattern</h3>
 * <p>京东支付策略</p>
 * @author : zhang.bw
 * @date : 2020-06-05 14:51
 **/
public class JDPayment implements Payment{


	@Override
	public PayResult pay(String uid, int amount) {
		//TODO 此处省略支付逻辑
		return new PayResult("1001",true,"用户"+uid+"京东支付成功,支付金额："+amount);
	}
}
